﻿Imports CasaShowDados.DataAccess
Imports CasaShowDados.Enumeradores

<System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1"), _
 System.SerializableAttribute(), _
 System.ComponentModel.DesignerCategoryAttribute("code"), _
 System.Xml.Serialization.XmlRoot("XML"), _
 System.Xml.Serialization.XmlTypeAttribute(AnonymousType:=True)> _
Public Class Usuario
    Inherits Entidade

    Private _CodigoUsuario As Integer
    Private _NomeUsuario As String
    Private _CodigoCPF As String
    Private _DataCadastro As DateTime
    Private _EmailUsuario As String
    Private _SenhaUsuario As String
    Private _LoginUsuario As String
    Private _UsuarioDisponivel As Boolean
    Private _Telefone As String

    Private _Perfil As EnumTipoPerfil

    <System.Xml.Serialization.XmlElementAttribute("ID_USUARIO")> _
    Public Property CodigoUsuario() As Integer
        Get
            Return _CodigoUsuario
        End Get
        Set(ByVal value As Integer)
            _CodigoUsuario = value
        End Set
    End Property

    <System.Xml.Serialization.XmlElementAttribute("NM_USUARIO")> _
    Public Property NomeUsuario() As String
        Get
            Return _NomeUsuario
        End Get
        Set(ByVal value As String)
            _NomeUsuario = value
        End Set
    End Property

    <System.Xml.Serialization.XmlElementAttribute("CD_CPF")> _
    Public Property CodigoCPF() As String
        Get
            Return _CodigoCPF
        End Get
        Set(ByVal value As String)
            _CodigoCPF = value
        End Set
    End Property

    <System.Xml.Serialization.XmlElementAttribute("CD_TELEFONE")> _
  Public Property Telefone() As String
        Get
            Return _Telefone
        End Get
        Set(ByVal value As String)
            _Telefone = value
        End Set
    End Property

    <System.Xml.Serialization.XmlElementAttribute("DT_CADASTRO")> _
    Public Property DataCadastro() As DateTime
        Get
            Return _DataCadastro
        End Get
        Set(ByVal value As DateTime)

            _DataCadastro = value
        End Set
    End Property

    <System.Xml.Serialization.XmlElementAttribute("NM_EMAIL")> _
    Public Property EmailUsuario() As String
        Get
            Return _EmailUsuario
        End Get
        Set(ByVal value As String)
            _EmailUsuario = value
        End Set
    End Property

    <System.Xml.Serialization.XmlElementAttribute("NM_SENHA")> _
    Public Property SenhaUsuario() As String
        Get
            Return _SenhaUsuario
        End Get
        Set(ByVal value As String)
            _SenhaUsuario = value
        End Set
    End Property

    <System.Xml.Serialization.XmlElementAttribute("NM_LOGIN")> _
    Public Property LoginUsuario() As String
        Get
            Return _LoginUsuario
        End Get
        Set(ByVal value As String)
            _LoginUsuario = value
        End Set
    End Property

    <System.Xml.Serialization.XmlElementAttribute("ID_PERFIL")> _
 Public Property Perfil() As EnumTipoPerfil
        Get
            Return _Perfil
        End Get
        Set(ByVal value As EnumTipoPerfil)
            _Perfil = CInt(value)
        End Set
    End Property

    <System.Xml.Serialization.XmlElementAttribute("IC_USUARIO_DISPONIVEL")> _
    Public Property UsuarioDisponivel() As Boolean
        Get
            Return _UsuarioDisponivel
        End Get
        Set(ByVal value As Boolean)
            _UsuarioDisponivel = value
        End Set
    End Property

    Public Sub New()

    End Sub

End Class


